/*
    关系运算符
    == != <= >= < >
 */
public class OperatorDemo06 {
    public static void main(String[] args) {
        int i = 10;
        int j = 20;
        int k = 22;

        //所有结果都为boolean型
        boolean b = (i == j);
        System.out.println(b);
        System.out.println(i != j);
        System.out.println(i <= j);
        System.out.println(i >= j);
        System.out.println(i < j);
        System.out.println(i > j);
    }
}
